package com.ltkj.ticket.mapper;

import java.util.List;
import com.ltkj.ticket.domain.TicActivityBusiness;
import com.ltkj.ticket.domain.vo.TicActivityBusinessVo;
import com.ltkj.ticket.domain.vo.TicActivityStockDetailVo;

/**
 * 活动票Mapper接口
 * 
 * @author ruoyi
 * @date 2023-08-31
 */
public interface TicActivityBusinessMapper 
{
    /**
     * 查询活动票
     * 
     * @param activityId 活动票主键
     * @return 活动票
     */
    public TicActivityBusiness selectTicActivityBusinessByActivityId(Long activityId);

    /**
     * 查询活动票列表
     * 
     * @param ticActivityBusiness 活动票
     * @return 活动票集合
     */
    public List<TicActivityBusiness> selectTicActivityBusinessList(TicActivityBusiness ticActivityBusiness);

    /**
     * 新增活动票
     * 
     * @param ticActivityBusiness 活动票
     * @return 结果
     */
    public int insertTicActivityBusiness(TicActivityBusiness ticActivityBusiness);

    /**
     * 修改活动票
     * 
     * @param ticActivityBusiness 活动票
     * @return 结果
     */
    public int updateTicActivityBusiness(TicActivityBusiness ticActivityBusiness);

    /**
     * 删除活动票
     * 
     * @param activityId 活动票主键
     * @return 结果
     */
    public int deleteTicActivityBusinessByActivityId(Long activityId);

    /**
     * 批量删除活动票
     * 
     * @param activityIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteTicActivityBusinessByActivityIds(Long[] activityIds);

    TicActivityBusinessVo selectTicActivityBusinessByActivityIdNew(Long activityStockId);

    void offshelf(Long activityId);

    void onshelf(Long activityId);
}
